package com.changgo.web.service;

import org.springframework.http.server.reactive.ServerHttpRequest;

public interface AutoService {
    /**
     * 判断cookie中jti是否存在
     *
     * @param request
     * @return
     */
    String getJtiFromCookie(ServerHttpRequest request);
    /**
     * 判断redis中令牌是否过期
     * @param jti
     * @return
     */
    String getTokenFromRedis(String jti);
}
